#ifndef AdaCounter_h
#define AdaCounter_h

#include "CCodeCounter.h"

class CAdaCounter :  public CCodeCounter
{
public:
	CAdaCounter();

protected:
	virtual int CountDirectiveSLOC(filemap*, results*, filemap* fmbak=NULL);
	virtual int LanguageSpecificProcess(filemap*, results*, filemap* fmbak=NULL);
	virtual int ReplaceQuote(string &strline, size_t &idx_start, bool &contd, char &CurrentQuoteEnd);
	void count_special(string, int&);
	void LSLOC(results* result, string line, string lineBak, string &strLSLOC, string &strLSLOCBak, int &paren_cnt,
		bool &forflag, bool &found_forifwhile, bool &found_while, bool &found_type, bool &found_is, bool &found_accept);
	void FoundSLOC(results* result, string &strLSLOC, string &strLSLOCBak, bool &found_block, bool &found_forifwhile,
		bool &found_end, bool &found_type, bool &found_is, bool &found_accept, bool &trunc_flag);
};

#endif
